package com.cennavi.mineplay.mineplay_data.model;


import java.util.ArrayList;
import java.util.List;

public class TableNameInfo {

	private String tableName;
	
	/**
	 * 是否是一张表
	 * 0 是 1 否
	 */
	private int is_one_table;
	
	/**
	 * 是否每辆车一张表
	 * 0 是 1 否
	 */
	
	private String tableName_prefix;

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public int getIs_one_table() {
		return is_one_table;
	}

	public void setIs_one_table(int is_one_table) {
		this.is_one_table = is_one_table;
	}

	public String getTableName_prefix() {
		return tableName_prefix;
	}

	public void setTableName_prefix(String tableName_prefix) {
		this.tableName_prefix = tableName_prefix;
	}
	
	
	public List<String> getTableNames(){
		List<String> list = new ArrayList<String>();
		list.add(this.tableName);
		if (this.is_one_table == 0){
			list.add(this.tableName_prefix);
		}else{
			
		}
		return list;
	}
}
